package com.pwt.entity;

import com.pwt.annotation.Update;
import io.swagger.v3.oas.annotations.media.Schema;
import com.pwt.entity.base.BaseEntity;
import javax.persistence.*;
import javax.validation.constraints.NotBlank;

import lombok.EqualsAndHashCode;
import lombok.Data;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import java.io.Serializable;


/**
 * MERKMALCONTROL
 *
 * @author auto generated
 * @date 2022-01-11 09:52:49
 */
@EqualsAndHashCode
@Data
@Entity
@Table(name = "[MERKMAL_CONTROL]")
@Schema(name = "MERKMALCONTROL")
@DynamicInsert
@DynamicUpdate
public class MERKMALCONTROL implements Serializable {

	@Id
	@GeneratedValue(generator="system_uuid")
	@GenericGenerator(name="system_uuid",strategy="uuid")
	@Column(name = "id")
	@Schema(description = "ID")
	@NotBlank(groups = Update.class,message = "修改时必传")
	protected String id;

	/**
	 * mETEIL
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "mETEIL",description = "mETEIL")
	@Column(name = "METEIL", nullable = true)
	private Integer mETEIL;

	/**
	 * mEMERKMAL
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "mEMERKMAL",description = "mEMERKMAL")
	@Column(name = "MEMERKMAL", nullable = true)
	private Short mEMERKMAL;

	/**
	 * mEUGWCONTROL
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "mEUGWCONTROL",description = "mEUGWCONTROL")
	@Column(name = "MEUGW_CONTROL", nullable = true)
	private Double mEUGWCONTROL;

	/**
	 * mEOGWCONTROL
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "mEOGWCONTROL",description = "mEOGWCONTROL")
	@Column(name = "MEOGW_CONTROL", nullable = true)
	private Double mEOGWCONTROL;

	/**
	 * RMEUGW_CONTROL
	 * nullable : true
	 * default  : null
	 */
	@Schema(name = "RMEUGW_CONTROL",description = "RMEUGW_CONTROL")
	@Column(name = "RMEUGW_CONTROL", nullable = true)
	private Double rMEUGWCONTROL;

	/**
	 * mEOGWCONTROL
	 * nullable : false
	 * default  : null
	 */
	@Schema(name = "RMEOGW_CONTROL",description = "RMEOGW_CONTROL")
	@Column(name = "RMEOGW_CONTROL", nullable = true)
	private Double rMEOGWCONTROL;
}
